package Lab1OOP;

public class ComputerStore {

	public static void main(String[] args) {
		Computer comp1 = new Computer("Computer 1");
		comp1.cpu = new CPU_AMD();
		comp1.memory = new Memory_Samsung();
		comp1.disk = new Disk_WestDigitals();
		comp1.board = new Board_Asus();
		System.out.println("ComputerName: " + comp1.getComputerName() + "\n"+
                "ComputerPrice : " + comp1.getComputerPrice());
		comp1.describe();
		System.out.println("*****************************");
		Computer comp2 = new Computer("Computer 2");
		comp2.cpu = new CPU_Intel();
		comp2.memory = new Memory_Kingston();
		comp2.disk = new Disk_Seagate();
		comp2.board = new Board_Gigabyte();
		System.out.println("ComputerName: " + comp2.getComputerName() + "\n"+
                "ComputerPrice : " + comp2.getComputerPrice());
		comp2.describe();
		System.out.println("*****************************");
		Computer comp3 = new Computer("Computer 3");
		comp3.cpu = new CPU_AMD();
		comp3.memory = new Memory_Kingston();
		comp3.disk = new Disk_WestDigitals();
		comp3.board = new Board_Gigabyte();
		System.out.println("ComputerName: " + comp3.getComputerName() + "\n"+
                "ComputerPrice : " + comp3.getComputerPrice());
		comp3.describe();
		System.out.println("*****************************");
	}
}
